package com.zhiche.lisa.bms.dao.model.waybill;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运单状态同步表
 * </p>
 *
 * @author liuanshun
 * @since 2018-12-07
 */
@TableName("lisa_waybill_state")
public class WaybillState extends Model<WaybillState> {

    private static final long serialVersionUID = 1L;

    /**
     * 系统运单号
     */
    @TableId(value = "order_release_gid")
    // @TableField("order_release_gid")
    private String orderReleaseGid;
    /**
     * 路由模式名称
     */
    @TableField("route_mode_name")
    private String routeModeName;
    /**
     * 指令号
     */
    private String attribute16;
    /**
     * 运单状态
     */
    private String description;
    /**
     * 末端状态
     */
    @TableField("pod_status")
    private String podStatus;

    /**
     * 运单类型
     */
    private String attribute3;

    /**
     * 起运地
     */
    @TableField("oms_dest")
    private String omsDest;

    /**
     * 目的地
     */
    @TableField("dest_location_gid")
    private String destLocationGid;

    /**
     * otm的更新时间
     */
    @TableField("update_date")
    private Date updateDate;


    public String getOrderReleaseGid() {
        return orderReleaseGid;
    }

    public void setOrderReleaseGid(String orderReleaseGid) {
        this.orderReleaseGid = orderReleaseGid;
    }

    public String getRouteModeName() {
        return routeModeName;
    }

    public void setRouteModeName(String routeModeName) {
        this.routeModeName = routeModeName;
    }

    public String getAttribute16() {
        return attribute16;
    }

    public void setAttribute16(String attribute16) {
        this.attribute16 = attribute16;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPodStatus() {
        return podStatus;
    }

    public void setPodStatus(String podStatus) {
        this.podStatus = podStatus;
    }

    public String getAttribute3() {
        return attribute3;
    }

    public void setAttribute3(String attribute3) {
        this.attribute3 = attribute3;
    }

    public String getOmsDest() {
        return omsDest;
    }

    public void setOmsDest(String omsDest) {
        this.omsDest = omsDest;
    }

    public String getDestLocationGid() {
        return destLocationGid;
    }

    public void setDestLocationGid(String destLocationGid) {
        this.destLocationGid = destLocationGid;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * 主键值
     */
    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("WaybillState{");
        sb.append("orderReleaseGid='").append(orderReleaseGid).append('\'');
        sb.append(", routeModeName='").append(routeModeName).append('\'');
        sb.append(", attribute16='").append(attribute16).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", podStatus='").append(podStatus).append('\'');
        sb.append(", attribute3='").append(attribute3).append('\'');
        sb.append(", omsDest='").append(omsDest).append('\'');
        sb.append(", destLocationGid='").append(destLocationGid).append('\'');
        sb.append(", updateDate='").append(updateDate).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
